package com.tarena.spring.boot.config;
import com.tarena.spring.boot.bean.Bean03;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Demo02Config {
    public Demo02Config() {
        System.out.println("当前容器加载了demo02Config");
    }
    @Bean
    public Bean03 bean03(){
        return new Bean03();
    }
}
